/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.piza.toolcenter.beans;

/**
 *
 * @author hong
 */
public class TableConfig {
    
    private String tableName;
    private String schema;
    private String domainObjectName;
    private boolean generatedKey;
    private String  keyColumn;

    public TableConfig copy(){
        TableConfig tc=new TableConfig();
        tc.tableName=this.tableName;
        tc.domainObjectName=this.domainObjectName;
        tc.schema=this.schema;
        tc.keyColumn=this.keyColumn;
        tc.generatedKey=this.generatedKey;
        
        return tc;
    }
    
    public String getDomainObjectName() {
        return domainObjectName;
    }

    public void setDomainObjectName(String domainObjectName) {
        this.domainObjectName = domainObjectName;
    }


    public boolean isGeneratedKey() {
        return generatedKey;
    }

    public void setGeneratedKey(boolean generatedKey) {
        this.generatedKey = generatedKey;
    }

    public String getKeyColumn() {
        return keyColumn;
    }

    public void setKeyColumn(String keyColumn) {
        this.keyColumn = keyColumn;
    }


    public String getSchema() {
        return schema;
    }

    public void setSchema(String schema) {
        this.schema = schema;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
    
    
    
}
